﻿using System;
using System.Data;
using System.Linq;
using System.Windows;
using WPFExcelReport.Chart;
using System.Windows.Controls;
using WPFExcelReport.Helpers;
using System.ComponentModel;
using ReflectionStudio.Core.Events;
namespace WPFExcelReport
{
    /// <summary>
    /// Interaction logic for EditEventWindow.xaml
    /// </summary>
    public partial class JLTVKP
    {
        public JLTVKP()
        {
            if (DesignerProperties.GetIsInDesignMode(this))
                return;
            MV = new VVKPOS();
            this.DataContext = MV; 
            InitializeComponent();

        }
        public override void VKKLOAD(DataRow _dwVKK)
        {
            if (KRS.Length < 1)
                return;
            SResult = TMV.VVVKP(KRS, LFD, LIEFSCH); 
            MergeData(SResult, false);
            if (IsAuto)
            {
                if (TBMain.Rows.Count == 0)
                    NewCommand(null, null);
            } 
        } 
    }

}
